package com.yyy.dm.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("DM-SERVICE-ORDER")
public interface DMOrderFeign {

    @PostMapping("/rollbackOrder")
    Integer rollbackOrder(Long orderId);

    @PostMapping("/updateOrderStatuePay")
    Integer updateOrderStatuePay(@RequestBody String orderNo);

    @PostMapping("/findOrderTypeById")
    Integer findOrderTypeById(@RequestBody Long id);
}
